package cn.com.victorysoft.ylgl.service.fracturingpressure.domain.rockMechanics;

import cn.com.victorysoft.ylgl.service.commons.domain.BaseEntity;
import cn.com.victorysoft.ylgl.service.commons.json.DateToISODateTimeSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/*
三轴应力数据
 */
public class TriaxialStress extends BaseEntity {
    private String wellId;
    private String coreId;

    private String formationName;

    private String layerNo;

    private String lithology;

    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date testDate;

    private BigDecimal depth;

    private BigDecimal confinementPressure;

    private BigDecimal temperature;

    private BigDecimal peakIntensity;

    private BigDecimal remnantStress;

    private BigDecimal poissonRatio;

    private BigDecimal elasticModulus;

    private BigDecimal compressionStrength;

    private BigDecimal angleOfInternalFriction;

    private BigDecimal cohesiveForce;

    public String getCoreId() {
        return coreId;
    }

    public void setCoreId(String coreId) {
        this.coreId = coreId;
    }

    public String getFormationName() {
        return formationName;
    }

    public void setFormationName(String formationName) {
        this.formationName = formationName;
    }

    public String getLayerNo() {
        return layerNo;
    }

    public void setLayerNo(String layerNo) {
        this.layerNo = layerNo;
    }

    public String getLithology() {
        return lithology;
    }

    public void setLithology(String lithology) {
        this.lithology = lithology;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd")
    public Date getTestDate() {
        return testDate;
    }

    @JsonSerialize(using = DateToISODateTimeSerializer.class)
    public void setTestDate(Date testDate) {
        this.testDate = testDate;
    }

    public BigDecimal getDepth() {
        return depth;
    }

    public void setDepth(BigDecimal depth) {
        this.depth = depth;
    }

    public BigDecimal getConfinementPressure() {
        return confinementPressure;
    }

    public void setConfinementPressure(BigDecimal confinementPressure) {
        this.confinementPressure = confinementPressure;
    }

    public BigDecimal getTemperature() {
        return temperature;
    }

    public void setTemperature(BigDecimal temperature) {
        this.temperature = temperature;
    }

    public BigDecimal getPeakIntensity() {
        return peakIntensity;
    }

    public void setPeakIntensity(BigDecimal peakIntensity) {
        this.peakIntensity = peakIntensity;
    }

    public BigDecimal getRemnantStress() {
        return remnantStress;
    }

    public void setRemnantStress(BigDecimal remnantStress) {
        this.remnantStress = remnantStress;
    }

    public BigDecimal getPoissonRatio() {
        return poissonRatio;
    }

    public void setPoissonRatio(BigDecimal poissonRatio) {
        this.poissonRatio = poissonRatio;
    }

    public BigDecimal getElasticModulus() {
        return elasticModulus;
    }

    public void setElasticModulus(BigDecimal elasticModulus) {
        this.elasticModulus = elasticModulus;
    }

    public BigDecimal getCompressionStrength() {
        return compressionStrength;
    }

    public void setCompressionStrength(BigDecimal compressionStrength) {
        this.compressionStrength = compressionStrength;
    }

    public BigDecimal getAngleOfInternalFriction() {
        return angleOfInternalFriction;
    }

    public void setAngleOfInternalFriction(BigDecimal angleOfInternalFriction) {
        this.angleOfInternalFriction = angleOfInternalFriction;
    }

    public BigDecimal getCohesiveForce() {
        return cohesiveForce;
    }

    public void setCohesiveForce(BigDecimal cohesiveForce) {
        this.cohesiveForce = cohesiveForce;
    }

    public String getWellId() {
        return wellId;
    }

    public void setWellId(String wellId) {
        this.wellId = wellId;
    }
}